#pragma once

#include <QTreeWidgetItem>
#include<QMap>
class InfoTreeWidgetItem : public QTreeWidgetItem
{
	//Q_OBJECT

public:
	InfoTreeWidgetItem(QTreeWidgetItem *parent);
	InfoTreeWidgetItem(int type=Type);
	~InfoTreeWidgetItem();

	void appendInfo(QString key, QString value);
	void removeInfo(QString key);
	QString getInfo(QString key);

private:
	QMap<QString, QString> infoMap;
};
